FROM openjdk:8
MAINTAINER simoniu
ENV JAVA_OPTS="-Xms512m -Xmx512m -XX:+UseG1GC -Dspring.profiles.active=dev"
COPY ./target/movie-front.jar /root/projects/movie-front.jar
WORKDIR /root/projects
CMD java $JAVA_OPTS -jar movie-front.jar
